package com.entity;


import java.text.DateFormat;
import java.util.Calendar;
import java.util.Date;

import javax.xml.crypto.Data;

public class Message {
	private int message_id;
	private int user_id;
	private int shop_id;
	private String content;
	private int state;
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	private Date date;

	public int getMessage_id() {
		return message_id;
	}
	public void setMessage_id(int message_id) {
		this.message_id = message_id;
	}
	public int getUser_id() {
		return user_id;
	}
	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}
	public int getShop_id() {
		return shop_id;
	}
	public void setShop_id(int shop_id) {
		this.shop_id = shop_id;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	@Override
	public String toString() {
		return "Message [message_id=" + message_id + ", user_id=" + user_id + ", shop_id=" + shop_id + ", content="
				+ content + ", state=" + state + ", date=" + date + "]";
	}

	public Message(int message_id, int user_id, int shop_id, String content, int state, Date date) {
		super();
		this.message_id = message_id;
		this.user_id = user_id;
		this.shop_id = shop_id;
		this.content = content;
		this.state = state;
		this.date = date;
	}
	public Message() {
		super();
		// TODO Auto-generated constructor stub
	}

	


}
